﻿using housingsafety.server.Helpers;
using housingsafety.server.Models;

namespace housingsafety.server.Svcs
{
    public interface IAuthenticateService
    {
        RespRet<AuthenticateResponse> Authenticate(AuthenticateRequest model, string ipAddress);
        RespRet<AuthenticateResponse> Authenticate(string userNumber, string ipAddress);
        RespRet<AuthenticateResponse> RefreshToken(string refreshToken, string ipAddress);
        RespRet RevokeToken(string refreshToken, string ipAddress);
    }
}
